<template>
  <div>
    <menuItem icon="delete" text="删除" @click.native="onDelete" />
  </div>
</template>

<script>
import menuItem from "../menu-item";
export default {
  components: { menuItem },
  methods: {
    onDelete() {
      this.$emit("delete");
    },
  },
};
</script>

<style scoped lang="less">
</style>